package com.pet.shop.entity.product;

import com.pet.shop.entity.IBaseEntity;

import java.util.Date;
import java.util.List;

public class Product implements IBaseEntity{

    private static final long serialVersionUID = 8962003154119681570L;

    private Long id;
    private String name;
    private String brand;
    private Integer price;
    private Long typeId;
    private String unit;
    private String introduction;
    private String remark;
    private String picUrl;
    private Date createTime;
    private Long creatorId;
    private Date modifyTime;
    private Long modifierId;
    private Integer viewTimes;
    private Integer status;

    private String typeName;

    /**
     * 图片详情页面轮换图片
     */
    private List<ProductPic> productPicList;

    private List<ProductNorm> normList;
    private List<ProductProperty> propertyList;

    public List<ProductPic> getProductPicList() {
        return productPicList;
    }

    public void setProductPicList(List<ProductPic> productPicList) {
        this.productPicList = productPicList;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl == null ? null : picUrl.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
    }

    public Integer getViewTimes() {
        return viewTimes;
    }

    public void setViewTimes(Integer viewTimes) {
        this.viewTimes = viewTimes;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public List<ProductNorm> getNormList() {
        return normList;
    }

    public void setNormList(List<ProductNorm> normList) {
        this.normList = normList;
    }

    public List<ProductProperty> getPropertyList() {
        return propertyList;
    }

    public void setPropertyList(List<ProductProperty> propertyList) {
        this.propertyList = propertyList;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}